/**
 * 
 */
package br.coppe.coimbra.readability.score;

import java.io.File;

import br.coppe.coimbra.document.doc.DocumentReader;

/**
 * @author phillipe
 *
 */
public class MainScore {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
			
		String mm_CLEAN = DocumentReader.read(new File("/home/phillipe/Downloads/tmp/mm/[livrosparatodos.net].Ziraldo.O.Menino.Maluquinho.txt"));
		System.out.println("Score mm_CLEAN Reading Ease: " + Score.fleschKincaidReadingEase(mm_CLEAN));
		System.out.println("Score mm_CLEAN Grade Level: " + Score.fleschKincaidGradeLevel(mm_CLEAN));
		
		String mm = DocumentReader.read(new File("/home/phillipe/Downloads/tmp/mm/[livrosparatodos.net].Ziraldo.O.Menino.Maluquinho.pdf.txt"));
		System.out.println("Score mm Reading Ease: " + Score.fleschKincaidReadingEase(mm));
		System.out.println("Score mm Grade Level: " + Score.fleschKincaidGradeLevel(mm));	}

}
